package com.example.chaindemo.state.state;

import com.example.chaindemo.state.AbstractState;
import com.example.chaindemo.state.Context;
import com.example.chaindemo.state.StateEnum;

/**
 * @author PC3
 */
public class ReviewState extends AbstractState {


    @Override
    public void makePriceEvent(Context context) {
        context.setState(new PublishState());
    }

    @Override
    public String getCurrentState() {
        return StateEnum.REVIEWED.getValue();
    }
    
}